import 'package:json_annotation/json_annotation.dart';

part 'vice_screen.g.dart';

@JsonSerializable()
class ViceScreen extends Object {
  @JsonKey(name: 'adUrl')
  String adUrl;

  @JsonKey(name: 'ctime')
  String ctime;

  @JsonKey(name: 'cuserId')
  int cuserId;

  @JsonKey(name: 'cuserName')
  String cuserName;

  @JsonKey(name: 'id')
  int id;

  @JsonKey(name: 'storeId')
  int storeId;

  @JsonKey(name: 'storeLogo')
  String storeLogo;

  @JsonKey(name: 'storeName')
  String storeName;

  @JsonKey(name: 'utime')
  String utime;

  @JsonKey(name: 'uuserId')
  int uuserId;

  @JsonKey(name: 'uuserName')
  String uuserName;

  ViceScreen(
    this.adUrl,
    this.ctime,
    this.cuserId,
    this.cuserName,
    this.id,
    this.storeId,
    this.storeLogo,
    this.storeName,
    this.utime,
    this.uuserId,
    this.uuserName,
  );

  factory ViceScreen.fromJson(Map<String, dynamic> srcJson) => _$ViceScreenFromJson(srcJson);

  Map<String, dynamic> toJson() => _$ViceScreenToJson(this);
}
